package team.future.joke.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoOperations;
import org.springframework.stereotype.Service;

import team.future.joke.entity.JokeLog;

/**
 * Title: JokeLogDaoImpl.java<br>
 * Description: <br>
 * Copyright (c) 未来工作室版权所有 2015    <br>
 * Create DateTime: 2015年9月16日 下午12:34:36 <br>
 * @author futurezhu
 */
@Service("jokeLogDao")
public class JokeLogDaoImpl extends BaseMongoDaoImpl<JokeLog>{

	@Autowired
	private MongoOperations mongoTemplate;

	@Override
	public void insertObject(JokeLog log) {
		mongoTemplate.insert(log);
	}
}
